<template>
<div class="layerRtb layerRtb-threecolumn">
    <three-title :title="{name:'资料打印'}"></three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "18" >
       <div class="analyItem" v-for="(item, index) in discloseData" :key="index">
            <p class="analyItemTit tx-center">{{item.data | truncate(5)}}</p>
            <div class="analyItemCon">
                <p class="col-md-11">
                    <span class="cLightGray pr8">资料名称</span>
                    <span>{{item.data}}</span>
                </p>
                <a href="javasctipt;" class="cBlue">打印</a>
            </div>
        </div>
    </div>
    <div class="layerRtb-footer">
        <div class="analyItem">
            <p class="analyItemTit tx-center">综合</p>
            <div class="analyItemCon">
                 <p class="col-md-6">
                    <span class="cLightGray pr8">总数</span>
                    <span>{{discloseData.length}}</span>
                </p>
            </div>
        </div>
    </div>
</div>
</template>
<script>
export default {
    data () {
        return {
            discloseData: [
                {
                    id: 1,
                    data: '受教育人员签到表'
                }
            ], // 交底数据
            buttonIsShow: false, // 按钮是否显示
            discloseDataClone: null, // 交底数据
            submitLength: 0 // 提交次数
        }
    },
    created () {
    },
    computed: {
    },
    methods: {
        // 上传图片
        successUpload (value) {
            const currentData = this.discloseData.filter((item) => { return item.id === Number(value.data.id) })
            if (currentData.length > 0) {
                const photoList = currentData[0].photoList
                this.$set(currentData[0], 'photoList', [...photoList, value.src])
            }
        }
    },
    watch: {
    }
}
</script>
